SetDataErrorOff
Definition:
SetDataErrorOff()
Description:
Turn data error reporting off.
Platforms:
All
Parameters:
none
Returns:
nothing
Notes:
The behaviour of this Method depends on the value in the application-level Property Enable Script Error Handling.
If Enable Script Error Handling is set to False, after a call to SetDataErrorOff, any Data errors, which occur at runtime, will not stop execution of the current Script and the errors will not be reported to users. Instead, you can use the GetLastDataError Method within your Script to retrieve details of the last data/comms error which occurred. Data errors include comms errors and errors relating to uploading and downloading data.
If Enable Script Error Handling is set to True, calling SetDataErrorOff is equivalent to calling the Scripting Statement On Error Resume Next and covers a broader range of error messages than when the Property is set to False.
See also:
Runtime Error Handling and Debugging